package com.sugon.modules.device.consts.enums;

/**
 * 设备维护频率枚举类
 *
 * @Author YuXD
 * @Version 1.0
 * @since 2022-11-30
 * <p>
 */
public enum DevMaintenanceFreRateEnum {

    WEEKLY("每周", 1),
    FORTNIGHT("每两周", 2),
    MONTH("月度", 3),
    QUARTER("季度", 4),
    HALF_YEAR("半年", 5),
    YEAR("年度", 6);

    int value;

    String name;

    DevMaintenanceFreRateEnum(String name, int value) {
        this.value = value;
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public String getName() {
        return name;
    }

}
